package org.mycub.server.requester.descriptors;

import java.net.MalformedURLException;
import java.net.URL;

public class InternetAccessDescription extends LayerDescription{

	
	public InternetAccessDescription() throws MalformedURLException{
	
		String query = "http://odata.bordeaux.fr/v1/databordeaux/sigaccesinternet?" +
				"$select=cle,acces_libre,accueil,adresse,cp,gratuit,lieux,nb_de_poste,poste_handi,ville,x_long,y_lat" +
				"&format=json";
		this.setJsonURL(new URL(query));
		
		setTimeToRefresh(30,0,0);
	}
}
